<!DOCTYPE html>
<html lang="en">
  <head>
    <title>NVActivityIndicatorView Class Reference</title>
    <link rel="stylesheet" type="text/css" href="../css/jazzy.css" />
    <link rel="stylesheet" type="text/css" href="../css/highlight.css" />
    <meta charset="utf-8">
    <script src="../js/jquery.min.js" defer></script>
    <script src="../js/jazzy.js" defer></script>
    
  </head>
  <body>

    <a name="//apple_ref/swift/Class/NVActivityIndicatorView" class="dashAnchor"></a>

    <a title="NVActivityIndicatorView Class Reference"></a>

    <header class="header">
      <p class="header-col header-col--primary">
        <a class="header-link" href="../index.html">
          NVActivityIndicatorView Docs
        </a>
         (98% documented)
      </p>
    
    
        <p class="header-col header-col--secondary">
          <a class="header-link" href="https://github.com/ninjaprox/NVActivityIndicatorView">
            <img class="header-icon" src="../img/gh.png"/>
            View on GitHub
          </a>
        </p>
    
    </header>

    <p class="breadcrumbs">
      <a class="breadcrumb" href="../index.html">NVActivityIndicatorView Reference</a>
      <img class="carat" src="../img/carat.png" />
      NVActivityIndicatorView Class Reference
    </p>

    <div class="content-wrapper">
      <nav class="navigation">
        <ul class="nav-groups">
          <li class="nav-group-name">
            <a class="nav-group-name-link" href="../Classes.html">Classes</a>
            <ul class="nav-group-tasks">
              <li class="nav-group-task">
                <a class="nav-group-task-link" href="../Classes/ActivityData.html">ActivityData</a>
              </li>
              <li class="nav-group-task">
                <a class="nav-group-task-link" href="../Classes/NVActivityIndicatorPresenter.html">NVActivityIndicatorPresenter</a>
              </li>
              <li class="nav-group-task">
                <a class="nav-group-task-link" href="../Classes/NVActivityIndicatorView.html">NVActivityIndicatorView</a>
              </li>
            </ul>
          </li>
          <li class="nav-group-name">
            <a class="nav-group-name-link" href="../Enums.html">Enumerations</a>
            <ul class="nav-group-tasks">
              <li class="nav-group-task">
                <a class="nav-group-task-link" href="../Enums/NVActivityIndicatorType.html">NVActivityIndicatorType</a>
              </li>
            </ul>
          </li>
          <li class="nav-group-name">
            <a class="nav-group-name-link" href="../Protocols.html">Protocols</a>
            <ul class="nav-group-tasks">
              <li class="nav-group-task">
                <a class="nav-group-task-link" href="../Protocols/NVActivityIndicatorViewable.html">NVActivityIndicatorViewable</a>
              </li>
            </ul>
          </li>
          <li class="nav-group-name">
            <a class="nav-group-name-link" href="../Typealiases.html">Type Aliases</a>
            <ul class="nav-group-tasks">
              <li class="nav-group-task">
                <a class="nav-group-task-link" href="../Typealiases.html#/s:23NVActivityIndicatorView15FadeInAnimationa">FadeInAnimation</a>
              </li>
              <li class="nav-group-task">
                <a class="nav-group-task-link" href="../Typealiases.html#/s:23NVActivityIndicatorView16FadeOutAnimationa">FadeOutAnimation</a>
              </li>
            </ul>
          </li>
        </ul>
      </nav>
      <article class="main-content">

        <section class="section">
          <div class="section-content">
            <h1>NVActivityIndicatorView</h1>
              <div class="declaration">
                <div class="language">
                  <pre class="highlight swift"><code><span class="kd">public</span> <span class="kd">final</span> <span class="kd">class</span> <span class="kt">NVActivityIndicatorView</span> <span class="p">:</span> <span class="kt">UIView</span></code></pre>

                </div>
              </div>
            <p>Activity indicator view with nice animations</p>

          </div>
        </section>

        <section class="section">
          <div class="section-content">
            <div class="task-group">
              <ul class="item-container">
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:23NVActivityIndicatorViewAAC12DEFAULT_TYPEAA0aB4TypeOvpZ"></a>
                    <a name="//apple_ref/swift/Variable/DEFAULT_TYPE" class="dashAnchor"></a>
                    <a class="token" href="#/s:23NVActivityIndicatorViewAAC12DEFAULT_TYPEAA0aB4TypeOvpZ">DEFAULT_TYPE</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Default type. Default value is .BallSpinFadeLoader.</p>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">public</span> <span class="kd">static</span> <span class="k">var</span> <span class="nv">DEFAULT_TYPE</span><span class="p">:</span> <span class="kt"><a href="../Enums/NVActivityIndicatorType.html">NVActivityIndicatorType</a></span></code></pre>

                        </div>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:23NVActivityIndicatorViewAAC13DEFAULT_COLORSo7UIColorCvpZ"></a>
                    <a name="//apple_ref/swift/Variable/DEFAULT_COLOR" class="dashAnchor"></a>
                    <a class="token" href="#/s:23NVActivityIndicatorViewAAC13DEFAULT_COLORSo7UIColorCvpZ">DEFAULT_COLOR</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Default color of activity indicator. Default value is UIColor.white.</p>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">public</span> <span class="kd">static</span> <span class="k">var</span> <span class="nv">DEFAULT_COLOR</span><span class="p">:</span> <span class="kt">UIColor</span></code></pre>

                        </div>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:23NVActivityIndicatorViewAAC18DEFAULT_TEXT_COLORSo7UIColorCvpZ"></a>
                    <a name="//apple_ref/swift/Variable/DEFAULT_TEXT_COLOR" class="dashAnchor"></a>
                    <a class="token" href="#/s:23NVActivityIndicatorViewAAC18DEFAULT_TEXT_COLORSo7UIColorCvpZ">DEFAULT_TEXT_COLOR</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Default color of text. Default value is UIColor.white.</p>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">public</span> <span class="kd">static</span> <span class="k">var</span> <span class="nv">DEFAULT_TEXT_COLOR</span><span class="p">:</span> <span class="kt">UIColor</span></code></pre>

                        </div>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:23NVActivityIndicatorViewAAC15DEFAULT_PADDING12CoreGraphics7CGFloatVvpZ"></a>
                    <a name="//apple_ref/swift/Variable/DEFAULT_PADDING" class="dashAnchor"></a>
                    <a class="token" href="#/s:23NVActivityIndicatorViewAAC15DEFAULT_PADDING12CoreGraphics7CGFloatVvpZ">DEFAULT_PADDING</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Default padding. Default value is 0.</p>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">public</span> <span class="kd">static</span> <span class="k">var</span> <span class="nv">DEFAULT_PADDING</span><span class="p">:</span> <span class="kt">CGFloat</span></code></pre>

                        </div>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:23NVActivityIndicatorViewAAC20DEFAULT_BLOCKER_SIZESo6CGSizeVvpZ"></a>
                    <a name="//apple_ref/swift/Variable/DEFAULT_BLOCKER_SIZE" class="dashAnchor"></a>
                    <a class="token" href="#/s:23NVActivityIndicatorViewAAC20DEFAULT_BLOCKER_SIZESo6CGSizeVvpZ">DEFAULT_BLOCKER_SIZE</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Default size of activity indicator view in UI blocker. Default value is 60x60.</p>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">public</span> <span class="kd">static</span> <span class="k">var</span> <span class="nv">DEFAULT_BLOCKER_SIZE</span><span class="p">:</span> <span class="kt">CGSize</span></code></pre>

                        </div>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:23NVActivityIndicatorViewAAC38DEFAULT_BLOCKER_DISPLAY_TIME_THRESHOLDSivpZ"></a>
                    <a name="//apple_ref/swift/Variable/DEFAULT_BLOCKER_DISPLAY_TIME_THRESHOLD" class="dashAnchor"></a>
                    <a class="token" href="#/s:23NVActivityIndicatorViewAAC38DEFAULT_BLOCKER_DISPLAY_TIME_THRESHOLDSivpZ">DEFAULT_BLOCKER_DISPLAY_TIME_THRESHOLD</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Default display time threshold to actually display UI blocker. Default value is 0 ms.</p>
<div class="aside aside-note">
    <p class="aside-title">Note</p>
    Default time that has to be elapsed (between calls of <code><a href="../Classes/NVActivityIndicatorView.html#/s:23NVActivityIndicatorViewAAC14startAnimatingyyF">startAnimating()</a></code> and <code><a href="../Classes/NVActivityIndicatorView.html#/s:23NVActivityIndicatorViewAAC13stopAnimatingyyF">stopAnimating()</a></code>) in order to actually display UI blocker. It should be set thinking about what the minimum duration of an activity is to be worth showing it to the user. If the activity ends before this time threshold, then it will not be displayed at all.

</div>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">public</span> <span class="kd">static</span> <span class="k">var</span> <span class="nv">DEFAULT_BLOCKER_DISPLAY_TIME_THRESHOLD</span><span class="p">:</span> <span class="kt">Int</span></code></pre>

                        </div>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:23NVActivityIndicatorViewAAC36DEFAULT_BLOCKER_MINIMUM_DISPLAY_TIMESivpZ"></a>
                    <a name="//apple_ref/swift/Variable/DEFAULT_BLOCKER_MINIMUM_DISPLAY_TIME" class="dashAnchor"></a>
                    <a class="token" href="#/s:23NVActivityIndicatorViewAAC36DEFAULT_BLOCKER_MINIMUM_DISPLAY_TIMESivpZ">DEFAULT_BLOCKER_MINIMUM_DISPLAY_TIME</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Default minimum display time of UI blocker. Default value is 0 ms.</p>
<div class="aside aside-note">
    <p class="aside-title">Note</p>
    Default minimum display time of UI blocker. Its main purpose is to avoid flashes showing and hiding it so fast. For instance, setting it to 200ms will force UI blocker to be shown for at least this time (regardless of calling <code><a href="../Classes/NVActivityIndicatorView.html#/s:23NVActivityIndicatorViewAAC13stopAnimatingyyF">stopAnimating()</a></code> ealier).

</div>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">public</span> <span class="kd">static</span> <span class="k">var</span> <span class="nv">DEFAULT_BLOCKER_MINIMUM_DISPLAY_TIME</span><span class="p">:</span> <span class="kt">Int</span></code></pre>

                        </div>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:23NVActivityIndicatorViewAAC23DEFAULT_BLOCKER_MESSAGESSSgvpZ"></a>
                    <a name="//apple_ref/swift/Variable/DEFAULT_BLOCKER_MESSAGE" class="dashAnchor"></a>
                    <a class="token" href="#/s:23NVActivityIndicatorViewAAC23DEFAULT_BLOCKER_MESSAGESSSgvpZ">DEFAULT_BLOCKER_MESSAGE</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Default message displayed in UI blocker. Default value is nil.</p>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">public</span> <span class="kd">static</span> <span class="k">var</span> <span class="nv">DEFAULT_BLOCKER_MESSAGE</span><span class="p">:</span> <span class="kt">String</span><span class="p">?</span></code></pre>

                        </div>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:23NVActivityIndicatorViewAAC31DEFAULT_BLOCKER_MESSAGE_SPACING12CoreGraphics7CGFloatVvpZ"></a>
                    <a name="//apple_ref/swift/Variable/DEFAULT_BLOCKER_MESSAGE_SPACING" class="dashAnchor"></a>
                    <a class="token" href="#/s:23NVActivityIndicatorViewAAC31DEFAULT_BLOCKER_MESSAGE_SPACING12CoreGraphics7CGFloatVvpZ">DEFAULT_BLOCKER_MESSAGE_SPACING</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Default message spacing to activity indicator view in UI blocker. Default value is 8.</p>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">public</span> <span class="kd">static</span> <span class="k">var</span> <span class="nv">DEFAULT_BLOCKER_MESSAGE_SPACING</span><span class="p">:</span> <span class="kt">CGFloat</span></code></pre>

                        </div>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:23NVActivityIndicatorViewAAC28DEFAULT_BLOCKER_MESSAGE_FONTSo6UIFontCvpZ"></a>
                    <a name="//apple_ref/swift/Variable/DEFAULT_BLOCKER_MESSAGE_FONT" class="dashAnchor"></a>
                    <a class="token" href="#/s:23NVActivityIndicatorViewAAC28DEFAULT_BLOCKER_MESSAGE_FONTSo6UIFontCvpZ">DEFAULT_BLOCKER_MESSAGE_FONT</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Default font of message displayed in UI blocker. Default value is bold system font, size 20.</p>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">public</span> <span class="kd">static</span> <span class="k">var</span> <span class="nv">DEFAULT_BLOCKER_MESSAGE_FONT</span><span class="p">:</span> <span class="kt">UIFont</span></code></pre>

                        </div>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:23NVActivityIndicatorViewAAC32DEFAULT_BLOCKER_BACKGROUND_COLORSo7UIColorCvpZ"></a>
                    <a name="//apple_ref/swift/Variable/DEFAULT_BLOCKER_BACKGROUND_COLOR" class="dashAnchor"></a>
                    <a class="token" href="#/s:23NVActivityIndicatorViewAAC32DEFAULT_BLOCKER_BACKGROUND_COLORSo7UIColorCvpZ">DEFAULT_BLOCKER_BACKGROUND_COLOR</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Default background color of UI blocker. Default value is UIColor(red: 0, green: 0, blue: 0, alpha: 0.5)</p>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">public</span> <span class="kd">static</span> <span class="k">var</span> <span class="nv">DEFAULT_BLOCKER_BACKGROUND_COLOR</span><span class="p">:</span> <span class="kt">UIColor</span></code></pre>

                        </div>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:23NVActivityIndicatorViewAAC25DEFAULT_FADE_IN_ANIMATIONyySo6UIViewCcvpZ"></a>
                    <a name="//apple_ref/swift/Variable/DEFAULT_FADE_IN_ANIMATION" class="dashAnchor"></a>
                    <a class="token" href="#/s:23NVActivityIndicatorViewAAC25DEFAULT_FADE_IN_ANIMATIONyySo6UIViewCcvpZ">DEFAULT_FADE_IN_ANIMATION</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Default fade in animation.</p>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">public</span> <span class="kd">static</span> <span class="k">var</span> <span class="nv">DEFAULT_FADE_IN_ANIMATION</span><span class="p">:</span> <span class="kt"><a href="../Typealiases.html#/s:23NVActivityIndicatorView15FadeInAnimationa">FadeInAnimation</a></span></code></pre>

                        </div>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:23NVActivityIndicatorViewAAC26DEFAULT_FADE_OUT_ANIMATIONyySo6UIViewC_yyctcvpZ"></a>
                    <a name="//apple_ref/swift/Variable/DEFAULT_FADE_OUT_ANIMATION" class="dashAnchor"></a>
                    <a class="token" href="#/s:23NVActivityIndicatorViewAAC26DEFAULT_FADE_OUT_ANIMATIONyySo6UIViewC_yyctcvpZ">DEFAULT_FADE_OUT_ANIMATION</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Default fade out animation.</p>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">public</span> <span class="kd">static</span> <span class="k">var</span> <span class="nv">DEFAULT_FADE_OUT_ANIMATION</span><span class="p">:</span> <span class="kt"><a href="../Typealiases.html#/s:23NVActivityIndicatorView16FadeOutAnimationa">FadeOutAnimation</a></span></code></pre>

                        </div>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:23NVActivityIndicatorViewAAC4typeAA0aB4TypeOvp"></a>
                    <a name="//apple_ref/swift/Property/type" class="dashAnchor"></a>
                    <a class="token" href="#/s:23NVActivityIndicatorViewAAC4typeAA0aB4TypeOvp">type</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Animation type.</p>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">public</span> <span class="k">var</span> <span class="nv">type</span><span class="p">:</span> <span class="kt"><a href="../Enums/NVActivityIndicatorType.html">NVActivityIndicatorType</a></span></code></pre>

                        </div>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/c:@M@NVActivityIndicatorView@objc(cs)NVActivityIndicatorView(py)color"></a>
                    <a name="//apple_ref/swift/Property/color" class="dashAnchor"></a>
                    <a class="token" href="#/c:@M@NVActivityIndicatorView@objc(cs)NVActivityIndicatorView(py)color">color</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Color of activity indicator view.</p>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">@IBInspectable</span>
<span class="kd">public</span> <span class="k">var</span> <span class="nv">color</span><span class="p">:</span> <span class="kt">UIColor</span></code></pre>

                        </div>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/c:@M@NVActivityIndicatorView@objc(cs)NVActivityIndicatorView(py)padding"></a>
                    <a name="//apple_ref/swift/Property/padding" class="dashAnchor"></a>
                    <a class="token" href="#/c:@M@NVActivityIndicatorView@objc(cs)NVActivityIndicatorView(py)padding">padding</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Padding of activity indicator view.</p>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">@IBInspectable</span>
<span class="kd">public</span> <span class="k">var</span> <span class="nv">padding</span><span class="p">:</span> <span class="kt">CGFloat</span></code></pre>

                        </div>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:23NVActivityIndicatorViewAAC9animatingSbvp"></a>
                    <a name="//apple_ref/swift/Property/animating" class="dashAnchor"></a>
                    <a class="token" href="#/s:23NVActivityIndicatorViewAAC9animatingSbvp">animating</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Current status of animation, read-only.</p>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">@available(*, deprecated: 3.1)</span>
<span class="kd">public</span> <span class="k">var</span> <span class="nv">animating</span><span class="p">:</span> <span class="kt">Bool</span> <span class="p">{</span> <span class="k">get</span> <span class="p">}</span></code></pre>

                        </div>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:23NVActivityIndicatorViewAAC11isAnimatingSbvp"></a>
                    <a name="//apple_ref/swift/Property/isAnimating" class="dashAnchor"></a>
                    <a class="token" href="#/s:23NVActivityIndicatorViewAAC11isAnimatingSbvp">isAnimating</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Current status of animation, read-only.</p>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">private(set)</span> <span class="kd">public</span> <span class="k">var</span> <span class="nv">isAnimating</span><span class="p">:</span> <span class="kt">Bool</span></code></pre>

                        </div>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/c:@M@NVActivityIndicatorView@objc(cs)NVActivityIndicatorView(im)initWithCoder:"></a>
                    <a name="//apple_ref/swift/Method/init(coder:)" class="dashAnchor"></a>
                    <a class="token" href="#/c:@M@NVActivityIndicatorView@objc(cs)NVActivityIndicatorView(im)initWithCoder:">init(coder:)</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Returns an object initialized from data in a given unarchiver.
self, initialized using the data in decoder.</p>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">public</span> <span class="kd">required</span> <span class="nf">init</span><span class="p">?(</span><span class="n">coder</span> <span class="nv">aDecoder</span><span class="p">:</span> <span class="kt">NSCoder</span><span class="p">)</span></code></pre>

                        </div>
                      </div>
                      <div>
                        <h4>Parameters</h4>
                        <table class="graybox">
                          <tbody>
                            <tr>
                              <td>
                                <code>
                                <em>decoder</em>
                                </code>
                              </td>
                              <td>
                                <div>
                                  <p>an unarchiver object.</p>
                                </div>
                              </td>
                            </tr>
                          </tbody>
                        </table>
                      </div>
                      <div>
                        <h4>Return Value</h4>
                        <p>self, initialized using the data in decoder.</p>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:23NVActivityIndicatorViewAAC5frame4type5color7paddingABSo6CGRectV_AA0aB4TypeOSgSo7UIColorCSg12CoreGraphics7CGFloatVSgtcfc"></a>
                    <a name="//apple_ref/swift/Method/init(frame:type:color:padding:)" class="dashAnchor"></a>
                    <a class="token" href="#/s:23NVActivityIndicatorViewAAC5frame4type5color7paddingABSo6CGRectV_AA0aB4TypeOSgSo7UIColorCSg12CoreGraphics7CGFloatVSgtcfc">init(frame:type:color:padding:)</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Create a activity indicator view.</p>

<p>Appropriate NVActivityIndicatorView.DEFAULT_* values are used for omitted params.</p>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">public</span> <span class="nf">init</span><span class="p">(</span><span class="nv">frame</span><span class="p">:</span> <span class="kt">CGRect</span><span class="p">,</span> <span class="nv">type</span><span class="p">:</span> <span class="kt"><a href="../Enums/NVActivityIndicatorType.html">NVActivityIndicatorType</a></span><span class="p">?</span> <span class="o">=</span> <span class="kc">nil</span><span class="p">,</span> <span class="nv">color</span><span class="p">:</span> <span class="kt">UIColor</span><span class="p">?</span> <span class="o">=</span> <span class="kc">nil</span><span class="p">,</span> <span class="nv">padding</span><span class="p">:</span> <span class="kt">CGFloat</span><span class="p">?</span> <span class="o">=</span> <span class="kc">nil</span><span class="p">)</span></code></pre>

                        </div>
                      </div>
                      <div>
                        <h4>Parameters</h4>
                        <table class="graybox">
                          <tbody>
                            <tr>
                              <td>
                                <code>
                                <em>frame</em>
                                </code>
                              </td>
                              <td>
                                <div>
                                  <p>view&rsquo;s frame.</p>
                                </div>
                              </td>
                            </tr>
                            <tr>
                              <td>
                                <code>
                                <em>type</em>
                                </code>
                              </td>
                              <td>
                                <div>
                                  <p>animation type.</p>
                                </div>
                              </td>
                            </tr>
                            <tr>
                              <td>
                                <code>
                                <em>color</em>
                                </code>
                              </td>
                              <td>
                                <div>
                                  <p>color of activity indicator view.</p>
                                </div>
                              </td>
                            </tr>
                            <tr>
                              <td>
                                <code>
                                <em>padding</em>
                                </code>
                              </td>
                              <td>
                                <div>
                                  <p>padding of activity indicator view.</p>
                                </div>
                              </td>
                            </tr>
                          </tbody>
                        </table>
                      </div>
                      <div>
                        <h4>Return Value</h4>
                        <p>The activity indicator view.</p>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/c:@M@NVActivityIndicatorView@objc(cs)NVActivityIndicatorView(py)intrinsicContentSize"></a>
                    <a name="//apple_ref/swift/Property/intrinsicContentSize" class="dashAnchor"></a>
                    <a class="token" href="#/c:@M@NVActivityIndicatorView@objc(cs)NVActivityIndicatorView(py)intrinsicContentSize">intrinsicContentSize</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Returns the natural size for the receiving view, considering only properties of the view itself.</p>

<p>A size indicating the natural size for the receiving view based on its intrinsic properties.</p>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">public</span> <span class="k">override</span> <span class="k">var</span> <span class="nv">intrinsicContentSize</span><span class="p">:</span> <span class="kt">CGSize</span> <span class="p">{</span> <span class="k">get</span> <span class="p">}</span></code></pre>

                        </div>
                      </div>
                      <div>
                        <h4>Return Value</h4>
                        <p>A size indicating the natural size for the receiving view based on its intrinsic properties.</p>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/c:@M@NVActivityIndicatorView@objc(cs)NVActivityIndicatorView(py)bounds"></a>
                    <a name="//apple_ref/swift/Property/bounds" class="dashAnchor"></a>
                    <a class="token" href="#/c:@M@NVActivityIndicatorView@objc(cs)NVActivityIndicatorView(py)bounds">bounds</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Undocumented</p>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">public</span> <span class="k">override</span> <span class="k">var</span> <span class="nv">bounds</span><span class="p">:</span> <span class="kt">CGRect</span> <span class="p">{</span> <span class="k">get</span> <span class="k">set</span> <span class="p">}</span></code></pre>

                        </div>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:23NVActivityIndicatorViewAAC14startAnimatingyyF"></a>
                    <a name="//apple_ref/swift/Method/startAnimating()" class="dashAnchor"></a>
                    <a class="token" href="#/s:23NVActivityIndicatorViewAAC14startAnimatingyyF">startAnimating()</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Start animating.</p>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">public</span> <span class="kd">final</span> <span class="kd">func</span> <span class="nf">startAnimating</span><span class="p">()</span></code></pre>

                        </div>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:23NVActivityIndicatorViewAAC13stopAnimatingyyF"></a>
                    <a name="//apple_ref/swift/Method/stopAnimating()" class="dashAnchor"></a>
                    <a class="token" href="#/s:23NVActivityIndicatorViewAAC13stopAnimatingyyF">stopAnimating()</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Stop animating.</p>

                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">public</span> <span class="kd">final</span> <span class="kd">func</span> <span class="nf">stopAnimating</span><span class="p">()</span></code></pre>

                        </div>
                      </div>
                    </section>
                  </div>
                </li>
              </ul>
            </div>
          </div>
        </section>

      </article>
    </div>
    <section class="footer">
      <p>&copy; 2018 <a class="link" href="https://github.com/ninjaprox" target="_blank" rel="external">Vinh Nguyen</a>. All rights reserved. (Last updated: 2018-12-18)</p>
      <p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external">jazzy ♪♫ v0.9.4</a>, a <a class="link" href="https://realm.io" target="_blank" rel="external">Realm</a> project.</p>
    </section>
  </body>
</div>
</html>
